package cn.zhoabab.study.seata.storage.entity;

import lombok.Data;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@TableName("storage")
public class StorageEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long stock;

    private String unit;

    private String code;

    private Date createTime;

    private Date updateTime;
}
